﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Text;
using DefenseQuestion.Domain;

namespace DefenseQuestion
{
    /// <summary>
    /// 题型分类表
    /// </summary>
    [Table("QuestionType")]
    public class QuestionType : Audit
    {
        /// <summary>
        /// 题型分类表Id
        /// </summary>
        [Key]
        public int QuestionTypeId { get; set; }
        /// <summary>        
        ///题型分类名称
        /// </summary>
        public string QuestionTypeName { get; set; }
        /// <summary>        
        ///题型分类父Id
        /// </summary>
        public int ParentId { get; set; }

        public static implicit operator QuestionType(List<QuestionType> v)
        {
            throw new NotImplementedException();
        }
    }
}